<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Users extends Model
{
    protected $table = 'ea_users';

    /**
     * @param $user_id
     * @return Users|array|Model|null
     * 获取用户信息
     */
    public function userInfo($user_id)
    {
        return self::find($user_id);
    }
}